package com.imon.pivotal;

import javax.annotation.Resource;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/message")
public class MessageController {
	private static final Log	LOG	= LogFactory.getLog(MessageController.class);

	@Resource
	IRCService					ircService;

	public MessageController() {
		ircService = null;
	}

	@RequestMapping(method = RequestMethod.POST)
	public void publish(@RequestBody String request) {
		LOG.debug(String.format("publishing(%s)", request));
	}
}
